﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class Pepperoni : Topping
    {
        public Pepperoni(IPizza pizza, ToppingAction action)
            : base(pizza, action)
        { }

        protected override double SetBaseValue()
        {
            // pepperoni starts at 75 cents
            return .75d;
        }

        protected override string SetName()
        {
            return "Pepperoni";
        }
    }
}
